package com.fqgj.sentry.policy.enums;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2017/7/18
 * Time: 下午1:06
 */
public enum ExecutorTypeEnum {
    verifier(1, "验证者"),
    challenger(2, "挑战者"),
    champion(3, "冠军者");

    private int type;
    private String desc;

    ExecutorTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public ExecutorTypeEnum setType(int type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public ExecutorTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
